//引入js文件
import instance from "../untils/request";

// 获取品牌图片
export function GetBrandLogo(data) {
  return instance.request({
    method: "post",
    url: "/brand/logo/",
    data,
  });
}
// 添加车辆品牌 brand/add/
export function addBrand(data) {
  return instance.request({
    method: "post",
    url: "/brand/add/",
    data,
  });
}
// 获取车辆品牌列表list/
export function getBrandList(data) {
  return instance.request({
    method: "post",
    url: "/brand/list/",
    data,
  });
}

export function detailedBrandList(data) {
  return instance.request({
    method: "post",
    url: "/brand/detailed/",
    data,
  });
}
// 修改车辆信息
export function BrandEdit(data = {}) {
  return instance.request({
    method: "post",
    url: "/brand/edit/",
    data,
  });
}
